using System;
using System.Threading.Tasks;
using mymvc_individual.Models;
using mymvc_individual.Data;

namespace mymvc_individual.Services
{
    public interface ITodoItemService
    {
        Task<bool> AddItemAsync(TodoItem newItem, ApplicationUser user);
        Task<bool> DeleteItemAsync(string title, ApplicationUser user);
        Task<TodoItem[]> GetIncompleteItemsAsync(ApplicationUser user);
        Task<bool> MarkDoneAsync(Guid id, ApplicationUser user);
        Task<bool> ModifyItemAsync(Guid id, TodoItem newItem, ApplicationUser user);
    }
}